<?php
/**
 * Created by PhpStorm.
 * User: Admin
 * Date: 2021/6/25
 * Time: 10:23
 */

namespace app\admin\library;


class ValidateTypeCode
{
    public static $validateType = [
        'regex'=>'regex', //自定义正则
        'required'=>'required', //必填项
        'number'=>'number', //必须是数值
        'length'=>'length', //字符长度必须是value
        'min'=>'min', //数值不能小于value
        'max'=>'max', //数值不能大于value
        'remote'=>'remote', //自定义远程接口验证
    ];
}